package com.itbaizhan.controller;

import com.itbaizhan.service.IndexService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author spf
 * @date 2024/3/10
 * @time 14:50
 */
@RestController
@RequestMapping("/order")
public class IndexController {

    @Autowired
    private IndexService indexService;

    @GetMapping("/index")
    public String index(){
        return indexService.index();
    }

}
